module.exports = {
  env: process.env.OPTIMUS_ENV || 'dev',
  api: {
    url: process.env.OPTIMUS_API_URL,
  },
  auth: {
    tokenUrl: process.env.AUTH_TOKEN_URL,
    clientId: process.env.AUTH_CLIENT_ID,
    clientSecret: process.env.AUTH_CLIENT_SECRET,
  },
  db: {
    // 数据库用户名
    user: process.env.DB_USER,
    // 数据库
    database: process.env.DB_NAME,
    // 数据库密码
    password: process.env.DB_PASS,
    // 数据库所在IP
    host: process.env.DB_HOST,
    // 连接端口
    port: +process.env.DB_PORT || 5432,
  },
  idx: +process.env.idx || 0,
  region: 'us-west-2',
};
